package com.example.demo.impl;

import com.example.demo.MyBean;

public class InitBeanDefinition implements MyBean {
    @Override
    public void hello() {
        System.out.println("This is a Bean with Init and Destroy method");
    }

    public void init(){
        System.out.println("Init method");
    }

    public void destroy(){
        System.out.println("Destroy method");
    }
}
